package sevensoft.结构型模式.适配器模式.对象适配器;

import sevensoft.结构型模式.适配器模式.类适配器.IDp;

public class HdmiAdapterDp implements IHdmi {

    private IDp iDp;

    private HdmiAdapterDp(){}

    public HdmiAdapterDp(IDp iDp){
        this.iDp=iDp;
    }
    @Override
    public void write() {
        iDp.write();
    }
}
